package com.jchen.system.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description
 * @Author jchen
 * @Date 2023/12/6 16:49
 */
@Component
@FeignClient(value = "jchen-biz")
public interface UserFeign {

    @GetMapping("/feign/testFeiApi")
    String testFeiApi(@RequestParam("userId") String userId);
}
